/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.click.app.dao;

import com.click.app.model.AsistanceControl;
import com.click.app.model.Employee;
import java.util.Date;
import java.util.List;

/**
 *
 * @author ariel
 */
public interface AsistanceControlDao extends GenericDao<AsistanceControl, Long> {

    public List<AsistanceControl> findByEmployee(Employee employee);

    public int sizeByEmployeePeriod(Employee employee, Date initDate, Date endDate);

    public boolean sizeByHalfEmployeePeriod(Employee employee, Date initDate, Date endDate);

    public boolean dateExist(Employee employee, Date date);
}
